<div id="wrapper">
<div id="wrapper-btm">
<div id="page">

	<div id="content">
		<div id="banner">&nbsp;</div>

		<h1>Listing eaters</h1>

		<table>
		  <tr>
		    <th>Dinnermoment</th>
		    <th>User</th>
		    <th>Kook</th>
		    <th>Disches</th>
		  </tr>

		<% for eater in @eaters %>
		  <tr>
		    <td><%=h eater.dinnermoment.date %></td>
		    <td><%=h eater.user.name %></td>
		    <td><%=h eater.kook %></td>
		    <td><%=h eater.disches %></td>
		    <td><%= link_to 'Edit', edit_eater_path(eater) %></td>
		    <td><%= link_to 'Destroy', eater, :confirm => 'Are you sure?', :method => :delete %></td>
		  </tr>
		<% end %>
		</table>

		<br />
		</div>
	</div>
	<div id="sidebar">		

		<%= link_to "Terug naar de homepage", dinnermoments_path %>
		
	</div>
	<div style="clear: both;">&nbsp;</div>
</div>
</div>
</div>		
